﻿using OpenAdmin.Core.DbContextLocators;
using OpenAdmin.Core.Models;

namespace OpenAdmin.EntityFramework.SeedDataConfigure;

public class SysUserRoleSeedData : IEntityTypeSeedDataConfigure<SysUserRole, ApplicationDbContextLocator>
{
    public IEnumerable<SysUserRole> HasData(DbContext dbContext)
    {
        return SeedData.GetSysUserRoles();
    }
}
